﻿using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace AngleExpress.software
{
    class YunDaNewVpn : ISoftware
    {
        string ExePath = @"C:\Program Files (x86)\Common Files\Pulse Secure\JamUI\Pulse.exe";
        public override void OpenSoftware(string username, string password, string otherParam)
        {
            ProcessStartInfo info = new ProcessStartInfo
            {
                UseShellExecute = true,
                FileName = ExePath,
                Arguments = ""
            };
            try
            {
                Process pro = Process.Start(info);
            }
            catch (Exception e)
            {
                throw e;
            }
        }
    }
}
